package zsh.mapper;

import org.apache.ibatis.annotations.Mapper;
import zsh.domain.Book;

import java.util.List;

@Mapper
public interface BookMapper {
    int insertBook(Book book);
    int updateBook(Book book);
    int deleteBook(int id);
    Book selectBookById(int id);
    List<Book> selectAllBook(Book book);
    List<Book> selectAllBooks(Book book);
}
